#!/bin/bash

ps aux | grep " logncServer.sh" | grep -v grep  | awk '{print $2}' | xargs -i kill {}
ps aux | grep " nc --recv-only " | grep -v grep | awk '{print $2}' | xargs -i kill {}